package com.example.emos.api.db.dao;

import com.example.emos.api.db.pojo.TbHome;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.HashMap;

@Mapper
public interface TbHomeDao {
    int deleteByPrimaryKey(Integer id);

    int insert(TbHome record);

    int insertSelective(TbHome record);

    TbHome selectByPrimaryKey(Integer id);

    public int updateByPrimaryKeySelective(TbHome param);

    int updateByPrimaryKey(TbHome record);
    public ArrayList<HashMap> searchAllHome();
}